package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Auther Bennie
 * @Date 2020/6/22 13:24
 * @Description
 */
@Data
@Accessors(chain = true)
@TableName(value = "d_physicalzones_camerazones")
public class PhysicalZoneCameraZone {

    public PhysicalZoneCameraZone() {
    }

    public PhysicalZoneCameraZone(Long cameraZoneId, Long physicalzoneId, int reverse) {
        this.cameraZoneId = cameraZoneId;
        this.physicalzoneId = physicalzoneId;
        this.reverse = reverse;
    }

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long id;

    @JSONField(name = "CameraZoneId")
    @TableField(value = "CameraZoneId")
    private Long cameraZoneId;

    @JSONField(name = "PhysicalzoneId")
    @TableField(value = "PhysicalzoneId")
    private Long physicalzoneId;

    @JSONField(name = "Reverse")
    @TableField(value = "Reverse")
    private int reverse;

}
